<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%--使用include命令引入公共页面 --%>
<%@include file="/comm/common.jsp"%>
<%@ page import="com.sample.javabean.User"%>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport"
	content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title>慢性病报销管理系统</title>
<link rel="stylesheet" href="<%=path%>/css/pintuer.css">
<link rel="stylesheet" href="<%=path%>/css/admin.css">
<script src="<%=path%>/js/jquery.js"></script>
</head>
<body style="background-color: #f2f9fd;">


	<%
		User user = (User) session.getAttribute("user");
	%>
	<s:action name="Role_loadRole_name" namespace="/system">
		<s:param name="role_name">
			<s:property value="#session.user.role_name" />
		</s:param>
	</s:action>
	<div class="header bg-main">
		<div class="logo margin-big-left fadein-top">
			<h1>
				<img src="images/logo.jpg" class="radius-circle rotate-hover"
					height="50" alt="" /> 慢性病报销管理系统
			</h1>
		</div>
		<div class="head-l">
			<a href="" target="_blank" style="color: #FFF"><span
				class="icon-user"></span> 欢迎，<s:property
					value="#session.user.user_id" />用户</a>&nbsp;&nbsp; <a
				class="button button-little bg-green" href="" target="_blank"><span
				class="icon-home"></span> 首页</a> &nbsp;&nbsp; <a
				class="button button-little bg-red"
				href="<%=path%>/Access_logOut.action"><span
				class="icon-power-off"></span> 退出登录</a>
		</div>
	</div>
	<div class="leftnav">
		<div class="leftnav-title">
			<strong><span class="icon-list"></span>菜单列表</strong>
		</div>

		<s:action name="Right_check" namespace="/system">
			<s:param name="role_no">
				<s:property value="#session.role.role_no" />
			</s:param>
			<s:param name="right_no">
				<s:property value="10" />
			</s:param>
		</s:action>
		<s:if test="#session.if_user==1">
			<h2>
				<span class="icon-user"></span>基本设置
			</h2>
			<ul style="display: block">
				<li><a href="<%=path%>/system/User_listUser.action"
					target="right"><span class="icon-caret-right"></span>用户管理</a></li>
				<li><a href="<%=path%>/system/Role_listRole.action"
					target="right"><span class="icon-caret-right"></span>角色管理</a></li>

				<li><a href="<%=path%>/system/Ins_listIns.action"
					target="right"><span class="icon-caret-right"></span>经办点管理</a></li>
				<li><a href="<%=path%>/system/Area_listArea.action"
					target="right"><span class="icon-caret-right"></span>行政区域管理</a></li>
				<li><a href="<%=path%>/system/Right_listRight.action"
					target="right"><span class="icon-caret-right"></span>权限管理</a></li>
			</ul>
		</s:if>

		<s:action name="Right_check" namespace="/system">
			<s:param name="role_no">
				<s:property value="#session.role.role_no" />
			</s:param>
			<s:param name="right_no">
				<s:property value="20" />
			</s:param>
		</s:action>
		<s:if test="#session.if_user==1">
			<h2>
				<span class="icon-pencil-square-o"></span>业务功能
			</h2>
			<ul>
				<s:action name="Right_check" namespace="/system">
					<s:param name="role_no">
						<s:property value="#session.role.role_no" />
					</s:param>
					<s:param name="right_no">
						<s:property value="19" />
					</s:param>
				</s:action>
				<s:if test="#session.if_user==1">
					<li><a href="<%=path%>/system/ZcPolicy_listZcPolicy.action"
						target="right"><span class="icon-caret-right"></span>慢性政策管理</a></li>
				</s:if>
				<s:action name="Right_check" namespace="/system">
					<s:param name="role_no">
						<s:property value="#session.role.role_no" />
					</s:param>
					<s:param name="right_no">
						<s:property value="21" />
					</s:param>
				</s:action>
				<s:if test="#session.if_user==1">
					<li><a href="<%=path%>/system/Familyrecordmessage_list.action"
						target="right"><span class="icon-caret-right"></span>家庭档案管理</a></li>
				</s:if>
				<s:action name="Right_check" namespace="/system">
					<s:param name="role_no">
						<s:property value="#session.role.role_no" />
					</s:param>
					<s:param name="right_no">
						<s:property value="22" />
					</s:param>
				</s:action>
				<s:if test="#session.if_user==1">
					<li><a href="<%=path%>/system/Mxillmessage_list.action"
						target="right"><span class="icon-caret-right"></span>就诊信息管理</a></li>
				</s:if>
				<s:action name="Right_check" namespace="/system">
					<s:param name="role_no">
						<s:property value="#session.role.role_no" />
					</s:param>
					<s:param name="right_no">
						<s:property value="25" />
					</s:param>
				</s:action>
				<s:if test="#session.if_user==1">
					<li><a href="<%=path%>/system/Persinfo_list.action"
						target="right"><span class="icon-caret-right"></span>参合登记管理</a></li>
				</s:if>
				<s:action name="Right_check" namespace="/system">
					<s:param name="role_no">
						<s:property value="#session.role.role_no" />
					</s:param>
					<s:param name="right_no">
						<s:property value="26" />
					</s:param>
				</s:action>
				<s:if test="#session.if_user==1">
					<li><a href="<%=path%>/system/MbBill_list.action"
						target="right"><span class="icon-caret-right"></span>慢病证管理</a></li>
				</s:if>

			
				<s:action name="Right_check" namespace="/system">
					<s:param name="role_no">
						<s:property value="#session.role.role_no" />
					</s:param>
					<s:param name="right_no">
						<s:property value="27" />
					</s:param>
				</s:action>
				<s:if test="#session.if_user==1">
					<li><a href="<%=path%>/system/Bxmessage_list.action"
						target="right"><span class="icon-caret-right"></span>报销信息管理</a></li>
				</s:if>
				<s:action name="Right_check" namespace="/system">
					<s:param name="role_no">
						<s:property value="#session.role.role_no" />
					</s:param>
					<s:param name="right_no">
						<s:property value="23" />
					</s:param>
				</s:action>
				<s:if test="#session.if_user==1">
					<li><a href="<%=path%>/system/FamilyMessage_list.action"
						target="right"><span class="icon-caret-right"></span>家庭成员管理</a></li>
				</s:if>


			</ul>
		</s:if>

	</div>
	<script type="text/javascript">
		$(function() {
			$(".leftnav h2").click(function() {
				$(this).next().slideToggle(200);
				$(this).toggleClass("on");
			})
			$(".leftnav ul li a").click(function() {
				$("#a_leader_txt").text($(this).text());
				$(".leftnav ul li a").removeClass("on");
				$(this).addClass("on");
			})
		});
	</script>
	<ul class="bread">
		<li><a href="{:U('Index/info')}" target="right" class="icon-home">
				首页</a></li>
		<li><a href="#" id="a_leader_txt">欢迎界面</a></li>
		<li><b>当前语言：</b><span style="color: red;">中文</php>
		</span> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;切换语言： <a href="##">中文</a> &nbsp;&nbsp;
			<a href="##">英文</a></li>
	</ul>
	<div class="admin">
		<iframe scrolling="auto" rameborder="0" src="welcome.html"
			name="right" width="100%" height="100%"></iframe>
	</div>
	<div style="text-align: center;">
		<p>
			来源: <a href="http://www.mycodes.net/" target="_blank">源码之家</a>
		</p>
	</div>
</body>
</html>
